from flask import Flask,abort

app =  Flask(__name__)

@app.route("/index")
def index():
    abort(403)
    return "123"


if __name__ == '__main__':
    app.run()